<html ng-app="cloud">
<head>
<meta charset="UTF-8">
<title>Cloud</title>
<script type="text/javascript" src="public/angular/angular-1.4.7.min.js"></script>
<script type="text/javascript">
	var ng = angular.module('cloud', []);

	/////////////////////////////////////

	ng.controller('UserController', function($scope, $http) {

		$http.post('users').success(function(data) {
			$scope.users = data;
		});

	});
</script>
</head>
<body ng-controller="UserController">
	<h1>Cloud</h1>

	<h3>Users</h3>
	<table>
		<thead>
			<tr>
				<td width="100">username</td>
			</tr>
		</thead>
		<tbody ng-repeat="user in users">
			<tr>
				<td>{{user.username}}</td>
			</tr>
		</tbody>
	</table>
</body>
</html>